<%@ include file="/WEB-INF/jsp/tagJSONLibIncludes.jsp"%>
{
    title:'<fmt:message key="user.title.group"/>',
   form:{actionUrl: '${auth}/sec/user/group/assign',
         formName: 'user',
         fields:[{name:'JSONPropertyIds', type:'arrow', 
                  value:{hasAllData:false,leftData:{title:'<fmt:message key="user.title.group.leftColumn"/>',data:[
                  <c:forEach items="${groups}" var="group">
                  {id:'${group.id}', displayName:'${group.username}'},
                  </c:forEach>
                  ]},
                  rightData:{title:'<fmt:message key="user.title.group.rightColumn"/>',data:[
                  <c:forEach items="${assignedGroups}" var="group">
                  {id:'${group.id}', displayName:'${group.username}'},
                  </c:forEach>]}
                  }}],
         buttons:[{name:"btnCancel", label:"<fmt:message key="btn.cancel"/>"},
                  {name:"btnAdd", label:"<fmt:message key="btn.assign"/>"}]
        },
}